package com.ds.dsfans.liteflow.demo.mysql;

import com.yomahub.liteflow.core.FlowExecutor;
import org.springframework.boot.CommandLineRunner;

import javax.annotation.Resource;

//@Component
public class LiteFlowCommand2 implements CommandLineRunner {

    @Resource
    private FlowExecutor flowExecutor;

    @Override
    public void run(String... args) throws Exception {
//        while(true){
//            flowExecutor.executeRouteChain("ns", 15, DefaultContext.class);
//            Thread.sleep(1000);
//        }
    }
}
